package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * (Employee)实体类
 *
 * @author makejava
 * @since 2020-10-26 19:32:36
 */
@ApiModel(value = "员工信息类")
public class Employee implements Serializable {
    private static final long serialVersionUID = 279272855527821486L;
    /**
     * 员工编码
     */
    @ApiModelProperty(name = "employeeId",notes = "员工编码",value = "员工编码")
    private Integer employeeId;
    /**
     * 员工用户名
     */
    @ApiModelProperty(name = "employeeUsername",notes = "员工用户名",value = "员工用户名")
    private String employeeUsername;
    /**
     * 员工密码
     */
    @ApiModelProperty(name = "employeePwd",notes = "员工密码",value = "员工密码")
    private String employeePwd;
    /**
     * 员工姓名
     */
    @ApiModelProperty(name = "employeeName",notes = "员工姓名",value = "员工姓名")
    private String employeeName;
    /**
     * 员工电话
     */
    @ApiModelProperty(name = "employeePhone",notes = "员工电话",value = "员工电话")
    private String employeePhone;
    /**
     * 员工状态码
     */
    @ApiModelProperty(name = "employeeState",notes = "员工状态码",value = "员工状态码")
    private Integer employeeState;
    /**
     * 员工身份证
     */
    @ApiModelProperty(name = "employeeIdcard",notes = "员工身份证",value = "员工身份证")
    private String employeeIdcard;
    /**
     * 分店id（外键）
     */
    @ApiModelProperty(name = "branchCode",notes = "分店id（外键）",value = "分店id（外键）")
    private Integer branchCode;
    /**
     * 分组id（外键）
     */
    @ApiModelProperty(name = "groupId",notes = "分组id（外键）",value = "分组id（外键）")
    private Integer groupId;
    /**
     * 员工头像
     */
    @ApiModelProperty(name = "imgUrl",notes = "员工头像",value = "员工头像")
    private String imgUrl;

    /**
     * 角色id（外键）
     */
    @ApiModelProperty(name = "roleId",notes = "角色id",value = "角色id")
    private Integer roleId;
    /**
     * 员工在职状态
     */
    @ApiModelProperty(name = "state",notes = "员工在职状态",value = "员工在职状态")
    private Integer state;
    /**
     * 旧密码
     */
    @ApiModelProperty(name = "oldPassword",notes = "旧密码",value = "旧密码")
    private String oldPassword;
    /**
     * 记住我
     */
    @ApiModelProperty(name = "rememberMe",notes = "记住我",value = "记住我")
    private Boolean rememberMe;

    /**
     * 角色集合
     */
    private List<Role> roleList;
    /**
     * 权限集合
     */
    private List<PowerMenu> powerMenuList;

    /**
     * group（分组）
     */
    private Groups groups;
    /**
     * branch（分店）
     */
    private Branch branch;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Groups getGroups() {
        return groups;
    }

    public void setGroups(Groups group) {
        this.groups = group;
    }

    public Branch getBranch() {
        return branch;
    }

    public void setBranch(Branch branch) {
        this.branch = branch;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeUsername() {
        return employeeUsername;
    }

    public void setEmployeeUsername(String employeeUsername) {
        this.employeeUsername = employeeUsername;
    }

    public String getEmployeePwd() {
        return employeePwd;
    }

    public void setEmployeePwd(String employeePwd) {
        this.employeePwd = employeePwd;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmployeePhone() {
        return employeePhone;
    }

    public void setEmployeePhone(String employeePhone) {
        this.employeePhone = employeePhone;
    }

    public Integer getEmployeeState() {
        return employeeState;
    }

    public void setEmployeeState(Integer employeeState) {
        this.employeeState = employeeState;
    }

    public String getEmployeeIdcard() {
        return employeeIdcard;
    }

    public void setEmployeeIdcard(String employeeIdcard) {
        this.employeeIdcard = employeeIdcard;
    }

    public Integer getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(Integer branchCode) {
        this.branchCode = branchCode;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getRememberMe() {
        return rememberMe;
    }

    public void setRememberMe(Boolean rememberMe) {
        this.rememberMe = rememberMe;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public List<PowerMenu> getPowerMenuList() {
        return powerMenuList;
    }

    public void setPowerMenuList(List<PowerMenu> powerMenuList) {
        this.powerMenuList = powerMenuList;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "employeeId=" + employeeId +
                ", employeeUsername='" + employeeUsername + '\'' +
                ", employeePwd='" + employeePwd + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", employeePhone='" + employeePhone + '\'' +
                ", employeeState='" + employeeState + '\'' +
                ", employeeIdcard='" + employeeIdcard + '\'' +
                ", branchCode=" + branchCode +
                ", groupId=" + groupId +
                ", imgUrl='" + imgUrl + '\'' +
                ", roleId=" + roleId +
                ", state=" + state +
                ", oldPassword='" + oldPassword + '\'' +
                ", rememberMe=" + rememberMe +
                ", roleList=" + roleList +
                ", powerMenuList=" + powerMenuList +
                ", groups=" + groups +
                ", branch=" + branch +
                '}';
    }
}